package com.hndfsj.framework.exceptions;

@SuppressWarnings("serial")
public class RWException extends Exception {
	private String description;
	private String code;
	private String title;
	
	public String getDescription() {
		return description;
	}

	public void setDescription(String description) {
		this.description = description;
	}

	public String getCode() {
		return code;
	}

	public void setCode(String code) {
		this.code = code;
	}

	public String getTitle() {
		return title;
	}

	public void setTitle(String title) {
		this.title = title;
	}

	public RWException(Throwable cause) {
		super(cause);
	}
	
	public RWException(String code, Throwable cause) {
		super(cause);
		this.code = code;
	}
	
	public RWException(String code, String title, Throwable cause) {
		super(cause);
		this.code = code;
		this.title = title;
	}
	
	public RWException(String code, String title, String description, Throwable cause) {
		super(cause);
		this.code = code;
		this.title = title;
		this.description = description;
	}
	
}
